import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/style/list.css'
import '@/assets/style/form.css'
Vue.use(ElementUI)

import service from './api/request'
Vue.prototype.$http = service
document.documentElement.style.fontSize = (window.innerWidth / 750) + 'px'
//引入自定义样式
//import './assets/element-variables.scss'

//dev 开发环境
//test 测试境
//production 正式环境  生产环境
Vue.config.productionTip = true
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
